package com.mt.demo.domain;

import com.mt.demo.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 投票主对象 mt_vote
 * 
 * @author gary
 * @date 2025-08-11
 */
public class MtVote extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 投票ID */
    private Long voteId;

    /** 会议ID */
    @Excel(name = "会议ID")
    private Long meetingId;

    /** 投票标题 */
    @Excel(name = "投票标题")
    private String title;

    /** 是否匿名 yes-匿名 no-实名 */
    @Excel(name = "是否匿名 yes-匿名 no-实名")
    private String anonymous;

    /** 状态 ing-进行中 stop-已停止 */
    @Excel(name = "状态 ing-进行中 stop-已停止")
    private String status;

    public void setVoteId(Long voteId) 
    {
        this.voteId = voteId;
    }

    public Long getVoteId() 
    {
        return voteId;
    }

    public void setMeetingId(Long meetingId) 
    {
        this.meetingId = meetingId;
    }

    public Long getMeetingId() 
    {
        return meetingId;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setAnonymous(String anonymous) 
    {
        this.anonymous = anonymous;
    }

    public String getAnonymous() 
    {
        return anonymous;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("voteId", getVoteId())
            .append("meetingId", getMeetingId())
            .append("title", getTitle())
            .append("anonymous", getAnonymous())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
